<%--
  Created by IntelliJ IDEA.
  User: 754165242
  Date: 2022/3/7
  Time: 20:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<c:set var="score" value="811" scope="page"></c:set>

<%--
    c:choose
--%>
<c:choose>
    <%--
        test:判断条件
     --%>
    <c:when test="${score>90 && score<=100}">
        优秀
    </c:when>
    <c:when test="${score>70 && score<=90}">
        良好
    </c:when>
    <c:when test="${score<60}">
        不及格
    </c:when>
    <c:otherwise>
        小老弟别捣蛋
    </c:otherwise>
</c:choose>
</body>
</html>
